public class Priority {

  String name
  String description
  Short value

  static mapping = {
      version false
  }
  
  static def constraints = {
    id(blank: false, unique: true)
    name(size: 1..10, blank: false)
    value(blank: false)
  }
}